@import "./../assets/css/main.scss";
.searchList {
    // tab栏
    .tabs {
        margin-top: 35px;
        .el-tabs--border-card {
            font-size: 16px !important;
            background: #fff;
            border: 1px solid #dcdfe6;
            border-bottom: 0;
            -webkit-box-shadow: unset;
            box-shadow: unset;
            &>.el-tabs__content {
                padding: 0px;
            }
        }
    }

    // 分类标签
    .Tags {
        .item {
            display: inline-block;
            padding: 15px 25px;
            margin-top: 20px;
            margin-left: 15px;
            border:1px solid #c0c0c0;
            color: $defC;
            border-radius: 3px;
            cursor: pointer;
            transition: all 0.3s;
            &:hover {
                background-color: rgb(192, 192, 192);
                color: $defC3;
            }
        }
    }

    // 搜索结果
    .result_list {
        // margin-top: 30px;
        overflow-y: scroll;
        li {
            padding: 20px 15px;
            border:1px solid #c0c0c0;
            border-radius: 5px;
            margin-bottom: 25px;
            background-color: #fff;
            transition: all 0.3s;
            cursor: default;
            overflow: hidden;
            &:hover {
                background-color: rgba(36, 99, 149,0.1);
            }
            $titleH:40px;
            h2 {
                font-size: 25px;
                height: $titleH;
                margin-bottom: 15px;
                line-height: $titleH;
                overflow: hidden;
                text-overflow: ellipsis;
                a {
                    color: $defC;
                }
            }
            .right {
                margin-left: 20px;
                .time {
                    text-align: right;
                    line-height: $titleH;
                }
                a {
                    display: block;
                    width: 200px;
                    height: 150px;
                    overflow: hidden;
                    position: relative;
                    img {
                        position: absolute;
                        top: -100px;
                        bottom: -100px;
                        left: -100px;
                        right: -100px;
                        min-width: 100%;
                        max-height: 100%;
                        margin: auto;
                    }
                }
            }
            
            .tags,.keywords {
                .item {
                    display: inline-block;
                    padding: 5px 8px;
                    margin-left: 15px;
                    margin-bottom: 15px;
                    border:1px solid #c0c0c0;
                    color: #c0c0c0;
                    border-radius: 3px;
                    cursor: pointer;
                    transition: all 0.3s;
                    &.active {
                        background-color: rgb(192, 192, 192);
                        color: $defC3;
                    }
                    &:hover {
                        color: $defC;
                    }
                }
            }
            .intr {
                font-size: 18px;
                line-height: 1.5em;
                height: 3em;
                color: #757575;
                margin-bottom: 20px;
                word-break: normal;
                overflow : hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
            }
            .active {
                color: $defC3;
                font-weight: bold;
            }
        }
    }
}
.pagination {
    position: fixed;
    padding: 5px 0;
    /* right: 0; */
    left: calc(50% + 650px + 2px);
    text-align: right;
    transform: translateX(-100%);
    transition: all .5s;
    background-color: $defC;
    &::before {
        content:"";
        position: absolute;
        z-index: -1;
        right: calc(100% - 2px);
        top: 0;
        border-style: dashed solid solid dashed;
        border-width: 20px 40px;
        border-color: transparent $defC $defC transparent;
    }
    // &::after {
    //     content:"";
    //     position: absolute;
    //     z-index: -1;
    //     left: calc(100% - 1px);
    //     top: 0;
    //     border-style: dashed dashed solid solid ;
    //     border-width: 20px 40px;
    //     border-color: transparent transparent $defC $defC ;
    // }
}